include($$PWD/../qtplugins.pri)
include($$PWD/../plugin_dependencies.pri)

TEMPLATE = lib
TARGET = Find$${FILE_POSTFIX}

#include(../../qtcreatorplugin.pri)
include(find_dependencies.pri)

DEFINES += FIND_LIBRARY

INCLUDEPATH +=$$PWD/../

HEADERS += findtoolwindow.h \
    textfindconstants.h \
    ifindsupport.h \
    ifindfilter.h \
    currentdocumentfind.h \
    basetextfind.h \
    find_global.h \
    findtoolbar.h \
    findplugin.h \
    searchresulttreeitemdelegate.h \
    searchresulttreeitemroles.h \
    searchresulttreeitems.h \
    searchresulttreemodel.h \
    searchresulttreeview.h \
    searchresultwindow.h

SOURCES += findtoolwindow.cpp \
    currentdocumentfind.cpp \
    basetextfind.cpp \
    findtoolbar.cpp \
    findplugin.cpp \
    searchresulttreeitemdelegate.cpp \
    searchresulttreeitems.cpp \
    searchresulttreemodel.cpp \
    searchresulttreeview.cpp \
    searchresultwindow.cpp
FORMS += findwidget.ui \
    finddialog.ui

RESOURCES += find.qrc

OTHER_FILES += Find.pluginspec
